<style>
	@media(min-width: 1000px){
		.admin-users>*
		{float: left;width:29%;}
	}
</style>
<div class='console-panel bg-blur-white bc-list' id='admin-list' data-port='http://api.hongyanche.com/admin/get_list'>
	<!-- <div class='weui-cells__title'>
		<a mute class='bc-list-reload pointer'><i class='i i-refresh'></i> 刷新</a>
	</div> -->
	<div class=' bc-list-template'>
		<div>
			<div class='weui-cells__title'><class_name list=1></class_name></div>
			<div class='weui-cells' >
				<users list=none style="margin:15px;display: block;">
					<a id="admin-new-btn-link" href='#new' class='weui-btn weui-btn_primary weui-btn_mini'><i class='i i-choicenessfill'></i> 添加新管理员</a>
				</users>
				<users list=r style='display: none;' class='admin-users'>
					<a href='#detail' onclick="admin.detail(this)" class='touchbug weui-cell weui-cell_access' range=template>
						<div class='weui-cell__hd'>
							<headimgurl range=i><img class='headimg' /></headimgurl>
						</div>
						<div class='weui-cell__bd'>
							<user_name range=1></user_name>
							<small style='display: none;' mute>
								<user_id range=1></user_id>
							</small>
						</div>
						<div class='weui-cell__bd'>
							<ultimate range=d><i class='i i-crownfill'></i>&nbsp;</ultimate>
							<seal range=d><i class='i i-lockfill'></i>&nbsp;</seal>
						</div>
						<div class='weui-cell__ft'></div>
					</a>
				</users>
			</div>
		</div>
	</div>
</div>
<sss>
	admin = {
		detail:function(t){
			var t = $(t);
			var line = t.closest('.bc-list-line');
			var class_name = line.find('class_name').html();
			var user_id = t.find('user_id').html();
			var users = line.find('.bc-list-detail-box users').html();
			var users = eval(users);
			for(var i in users){
				var u = users[i];
				if(u['user_id'] == user_id){
				var user = u;
				break;
			}
		}
		user['class_name'] = class_name.toUpperCase();
		<!-- console.log(user_id,users,user); -->
		DETAIL.content = user;
		if(!ISMOBILE()){
			event.preventDefault();
			var n = PAGE.getHtml('detail');
			var e = $('#admin-setting-pc')
			e.html(n);
			e.fadeIn();
			e.find('.page').addClass('js_show').trigger('bc-page-success');
			<!-- DETAIL.put("#admin-detail",user); -->
			}
		}
	}
</sss>